package org.come.mouslisten;

import org.come.Frame.PetLxJframe;
import org.come.Frame.TestPetJframe;
import org.come.entity.RoleSummoning;
import org.come.until.FormsManagement;
import org.come.until.UserMessUntil;
import org.skill.panel.LxPanel;

public class ChosePetLxMouslisten {

    // 刷新展示召唤兽技能的方法
    public static void refreshPetSkills() {
        LxPanel petSkillsJpanel = PetLxJframe.getPetLxJframe().getLxPanel();

        // 判断该召唤兽是否有灵犀技能
        if (UserMessUntil.getChosePetMes() != null) {
            // 先将界面清空再将点数清空
        	//petSkillsJpanel.changePanel(4);
        	
        	
        	// 飞升召唤兽展示灵犀按钮
            //灵犀显示按钮
        	if (UserMessUntil.getChosePetMes().getTurnRount() >= 1) {
        		petSkillsJpanel.init();
            	// 解析灵犀字符串
            	return;
        	}
        }
    	// 未选择召唤兽则关闭灵犀面板
    	FormsManagement.HideForm(601);
    }
}
